const host = 'api.signin.art';
// const host = 'devapi.signin.art'; //测试环境
// const host = '127.0.0.1:5000';
// android需更改为本机ip才能访问。
// const host = '192.168.2.11:5001';
// const host = '192.168.100.3:5001';
export const rnCodeVersion = '2.2(2)';

export const BASE_API =
  (host.indexOf('500') == -1 ? 'https://' : 'http://') + host;

export const BASE_WSS =
  'ws://' +
  (host.indexOf('500') == -1
    ? host + (host.indexOf('dev') != -1 ? ':5001' : ':5000')
    : host);

console.log('=============');
console.log(BASE_API);
console.log(BASE_WSS);
